#ifndef QS_H100AP_PY32F002B_HAL_H_
#define QS_H100AP_PY32F002B_HAL_H_


#define BUZZ_PORT               GPIOA
#define BUZZ_PIN                GPIO_PIN_1

#define FAN_PWN_PORT            GPIOB
#define FAN_PWN_PIN             GPIO_PIN_2
#define HEAT_PWN_PORT           GPIOA
#define HEAT_PWN_PIN            GPIO_PIN_5
#define HEAT_ANALOG_PORT        GPIOB
#define HEAT_ANALOG_PIN         GPIO_PIN_1
#define TEMP_ANALOG_PORT        GPIOB
#define TEMP_ANALOG_PIN         GPIO_PIN_0
#define FAN_ANALOG_PORT        GPIOA
#define FAN_ANALOG_PIN         GPIO_PIN_4

#define LED_CLK_PORT            GPIOA
#define LED_CLK_PIN             GPIO_PIN_3
#define LED_DAT_PORT            GPIOB
#define LED_DAT_PIN             GPIO_PIN_7

#define SENS_SENS0_PORT           GPIOB
#define SENS_SENS0_PIN            GPIO_PIN_3
#define SENS_SENS1_PORT           GPIOB
#define SENS_SENS1_PIN            GPIO_PIN_4


#define QS_UART_TX_PORT         GPIOA
#define QS_UART_TX_PIN         GPIO_PIN_6
#define QS_UART_TX_AF         GPIO_AF1_USART1

#define QS_UART_RX_PORT         GPIOA
#define QS_UART_RX_PIN         GPIO_PIN_7
#define QS_UART_RX_AF         GPIO_AF3_USART1
#endif